.class Lcom/waiqin365/lightwork/tracker/z;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/cr;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/x;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/x;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/Date;)V
    .locals 7

    const v6, 0x7f0c0be1

    const v5, 0x7f0c0be0

    const/16 v4, 0x8

    const/4 v3, 0x0

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    invoke-virtual {p1, v0}, Ljava/util/Date;->after(Ljava/util/Date;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/x;->b(Lcom/waiqin365/lightwork/tracker/x;)Landroid/view/ViewGroup;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/x;->b(Lcom/waiqin365/lightwork/tracker/x;)Landroid/view/ViewGroup;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/x;->b(Lcom/waiqin365/lightwork/tracker/x;)Landroid/view/ViewGroup;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    invoke-static {v0}, Lcom/waiqin365/lightwork/tracker/x;->b(Lcom/waiqin365/lightwork/tracker/x;)Landroid/view/ViewGroup;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    const-string/jumbo v1, ""

    invoke-static {v0, v1}, Lcom/waiqin365/lightwork/tracker/x;->a(Lcom/waiqin365/lightwork/tracker/x;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/z;->a:Lcom/waiqin365/lightwork/tracker/x;

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/x;->a(Ljava/lang/String;)V

    goto :goto_0
.end method
